package com.hspedu.extends_;

/**
 * @author 谷其昊
 * @version 1.0
 * @date 2022/1/20
 * @time 19:10
 */
public class Graduate {
    public String name;
    public int age;
    public double score;

    public void setScore(double score) {
        this.score = score;
    }

    public void testing(){
        System.out.println(name+"正在大学考试");
    }

    public void showInfo(){
        System.out.println(name+"的成绩是："+score+"，年龄为"+age);
    }
}
